/*
 * Copyright (C) hushenglan
 */

#include "mynet.h"

namespace mynet
{

/*
 * 构造函数
 */
CTransport::CTransport(CSock *listenSock, CPoll *poll, CPackage *pack)
{
    assert(listenSock != NULL);
    assert(poll != NULL);
    assert(pack != NULL);

    _p_listen_sock = listenSock;
    _p_poll = poll;
    _p_pack = pack;
}

}
